package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("employee_education")
public class EmployeeEducation {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long employeeId;
    private String schoolName;
    private String major;
    private String education;
    private Integer admissionYear;
    private Integer admissionMonth;
    private Integer graduationYear;
    private Integer graduationMonth;
    private String graduationStatus;
    private String hasCertificate;
    private String note;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
}